Dungeon Escape

by: Carson Packard

This game was made for my level 2 project at The League of Amazing Programmers.
Click here to download and play!


1. Why I Made This Game

I once saw a cartoon that described a game that you could play by typing words. I thought that making a game like that could be fun. I expected challenges, but it turned out to be really fun. Also, if you want to check out that cartoon, here's the link: https://youtu.be/R22zSrpeSA4


2. What I Learned

I learned that my game was unclear about what could be taken at certain times in the game, and so I ended up creating two separate ArrayLists to sort out the objects you can take and the objects you can use, which ended up seeming really helpful.


3. Architecture of My Game

My game came in three parts: the runner, the FrameManager, and the FunctionManager. The Frame Manager made the game look really nice, and handled some of the functions involving keys, but the Function Manager was really the one doing the heavy lifting. It has 388 lines of code in it, each one helping with a function. It took a lot of tries to fine tune it all, but I am ultimately proud if my work on this project without a shadow of a doubt.`


4. Technical Implementation

I think I am most proud of the system that organizes all of the items in the game. It breaks all of the items down into four categories: the objects around the player, the objects in the player's inventory, the objects you can take, and the objects you can use. They are all array lists that hold the names of every object in the fictional universe I created.


5. Most Challenging Part

I had a lot of trouble on making all of the commands work the right way. Sometimes it was the case sensitivity, other times the commands were not programmed just right. It took a while and a little help, but I fine tuned it so it is how it is right now.


6. Future Fixes and Updates

I had an idea after I had finished the first product that if you completed the game, then you could play a minigame called "Happy Farmer," but after a little of testing that idea, I realized that there were too many contingencies to cover. I would also add more/better graphics, but I guess that would defeat the purpose of envisioning it. Heh.


7. How did you get so awesome?

Woah, woah ,woah. I can't tell you all my secrets!